﻿#include "pch.h"
#include "define_CEMP.cpp"

int main(int argc, char** argv)
{
	SetConsoleTitle(L"CEMP");
	SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_INTENSITY | FOREGROUND_RED | FOREGROUND_BLUE | FOREGROUND_GREEN);//白色 
	puts("CEMP 1.0.0 Made by SadLava");
	randomize();

	CL_Music p(44100 * 4);
	CEMP cemp(&p);
	if (argc == 1) {
		cemp.getMusicFile();
	}
	else {
		cemp.Play(argv[1]);
	}
	for (; ;) {
		cemp.run();
	}
	return 0;
}